import React, { FC } from "react";
import { Space, Button } from "antd";
import { SettingOutlined } from "@ant-design/icons";
import { ModalForm } from "@ebonex/ebonex-ui";
import Actions, { ActionsProps } from "@/components/actions";
import cx from "classNames";
import styles from "./index.less";

export interface ToolBarRenderProps extends ActionsProps {
  className?: string;
  style?: React.CSSProperties;
  children?: React.ReactNode;
}
const ToolBarRender: FC<ToolBarRenderProps> = (props) => {
  const { className, style, children, ...other } = props;
  return (
    <div style={style} className={cx(styles.toolBarRender, className)}>
      <Actions {...other}>{children}</Actions>
    </div>
  );
};

export default ToolBarRender;
